@charset 'utf-8';

.modal-layer-skin-default .modal-layer-drag-mask, .modal-layer-skin-default .modal-layer-resize-mask {
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
  visibility: hidden;
  position: absolute;
  background: transparent;
}

.modal-layer-skin-default .modal-layer-title {
  font-size: 0.9em;
  padding: 12px 2px;
  position: relative;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.modal-layer-skin-default[allow-drag="true"] .modal-layer-title, .modal-layer-skin-default[allow-drag="true"] .modal-layer-title *, .modal-layer-skin-default[allow-drag="true"] .modal-layer-action {
  cursor: move;
}

.modal-layer-skin-default .modal-layer-title-content {
  color: #444;
  max-width: 80%;
  font-size: 1em;
  overflow: hidden;
  margin-left: 20px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.modal-layer-skin-default .modal-layer-action {
  top: 0px;
  width: 20%;
  right: 20px;
  padding: 10px 0px;
  text-align: right;
  position: absolute;
  pointer-events: none;
}

.modal-layer-skin-default .modal-layer-action .modal-layer-action-btn {
  color: #666;
  height: 100%;
  display: none;
  cursor: pointer;
  margin-left: 10px;
  position: relative;
  pointer-events: auto;
}

.modal-layer-skin-default[modal-layer-type=alert] .modal-layer-action-close, .modal-layer-skin-default[modal-layer-type=prompt] .modal-layer-action-close, .modal-layer-skin-default[modal-layer-type=confirm] .modal-layer-action-close, .modal-layer-skin-default[modal-layer-type=page] .modal-layer-action-btn {
  display: inline-block;
}

.modal-layer-skin-default .modal-layer-action-btn {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.modal-layer-skin-default .modal-layer-content {
  color: black;
  margin: 0px 20px;
  font-size: 0.9em;
  padding: 24px 0px;
  position: relative;
}

.modal-layer-skin-default[modal-layer-type=page][content-full-container=true] .modal-layer-content {
  margin: 0px;
  padding: 0px;
}

.modal-layer-skin-default .modal-layer-interaction {
  display: none;
  margin: 0px 20px;
  text-align: right;
  padding: 0px 0px 10px 0px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.modal-layer-skin-default .modal-layer-button {
  color: #333;
  display: none;
  cursor: pointer;
  font-size: 0.85em;
  background: white;
  border-radius: 2px;
  text-align: center;
  white-space: normal;
  padding: 5px 12.5px;
  margin: 2px 0px 2px 10px;
  border: 1px solid #dedede;
  -webkit-filter: saturate(0.9);
  -o-filter: saturate(0.9);
  filter: saturate(0.9);
}

.modal-layer-skin-default .modal-layer-button-ok {
  color: white;
  background: #1e9fff;
  border-color: #1e9fff;
}

.modal-layer-skin-default .modal-layer-button-no {
  color: white;
  background: #d9534f;
  border-color: #d9534f;
}

.modal-layer-skin-default .modal-layer-button:hover {
  -webkit-filter: saturate(1.25);
  -o-filter: saturate(1.25);
  filter: saturate(1.25);
}

.modal-layer-skin-default[modal-layer-type=prompt] .modal-layer-interaction, .modal-layer-skin-default[modal-layer-type=confirm] .modal-layer-interaction {
    display: block;
}

.modal-layer-skin-default[modal-layer-type=prompt] .modal-layer-button-ok, .modal-layer-skin-default[modal-layer-type=prompt] .modal-layer-button-cancel, .modal-layer-skin-default[modal-layer-type=confirm] .modal-layer-button-ok, .modal-layer-skin-default[modal-layer-type=confirm] .modal-layer-button-no {
  display: inline-block;
}

.modal-layer-skin-default .modal-layer-display-progress-bar {
    position: absolute;
}

.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=top] {
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 2px;
}

.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=left] {
  top: 0px;
  left: 0px;
  width: 2px;
  bottom: 0px;
  height: 100%;
}

.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=right] {
  top: 0px;
  right: 0px;
  width: 2px;
  bottom: 0px;
  height: 100%;
}

.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=bottom] {
  left: 0px;
  right: 0px;
  width: 100%;
  bottom: 0px;
  height: 2px;
}

.modal-layer-skin-default .modal-layer-display-progress-background {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
}


.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=top] .modal-layer-display-bar-progress, .modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=bottom] .modal-layer-display-bar-progress {
  width: 0px;
  height: 100%;
}

.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=left] .modal-layer-display-bar-progress, .modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=right] .modal-layer-display-bar-progress {
  width: 100%;
  height: 0px;
}

.modal-layer-skin-default .modal-layer-display-bar-progress {
  display: block;
  background: deepskyblue;
}